/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.dorian.atomicuml.dao.interfaces;

import com.dorian.atomicuml.orm.Projects;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 *
 * @author cedric.creusot
 */
@Transactional(propagation= Propagation.REQUIRED)
public interface ProjectManager {
    public void createProject(String title,
                            String description,
                            Integer ownerId) throws Exception;
    public void updateProject(Projects project);
    public boolean deleteProject(int ProjectId) throws Exception;
    public Projects getProject(int id);
}
